<div>
  <% fragment = fragment || @fragment %>	
  <span id="<%=fragment ? 'fragment' : 'fragment_placeholder'%>"><%=simple_format fragment.content%><span>
  <% if fragment.user%>
    <p id="fragment_user">by:<%= link_to fragment.user.name, users_path(fragment.user) -%> </p>
  <% end %> 
  <p style="color:blue;"><%= fragment.created_at%></p>
  <%= button_to('Merge', merges_path,:name=>'merge_button',:method => "post",:post_fragment_id=>fragment.id) %>
</div>